<?php 
	include './header.php';

	//判断是否登录
	if (empty($_SESSION['user'])) 
	{
		success('你还没有登录',URL.'/login.php',1);
		return false;
	}
?>
<div class="clear"></div>
<div id="main">
	<div class="goods">
		<h2 style="display:block;margin-left:470px;margin-top:40px;padding-bottom:20px;">收货地址信息填写：</h2>
			<form action="<?php echo URL;?>/doorder.php?a=add" method="post" style="display:block;width:500px;height:380px;margin:0 auto;">
				<label>
					<span style="font-size:24px;">收货地址:</span>
					<input type="text" name="address" style="display:block;margin-left:-160px;" />
				</label>
				<label>
					<span style="font-size:24px;">收件人:</span>
					<input type="text" name="receiver" style="display:block;margin-left:-160px;"/>
				</label>
				<label>
					<span style="font-size:24px;">联系电话:</span>
					<input type="text" name="tel" style="display:block;margin-left:-160px;"/>
				</label>
				<label>
					<span style="font-size:24px;">邮政编码:</span>
					<input type="text" name="postcode" style="display:block;margin-left:-160px;"/>
				</label>
				<button style="display:block;margin-left:120px;width:100px;height:40px;">确认</button>
			</form>
	</div>
</div>

<?php 
	include PATH.'/footer.php';
?>